package com.techsoul.module.goods.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

import java.util.Date;

/**
 * 分类 保存参数
 * 
 * @author liuen
 * @date 2020-12-14
 */
@Data
@Accessors(chain = true)
public class CategorySaveParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID（人为编码，唯一性）")
    private String id;

    @ApiModelProperty("PID，父级编号")
    private String pid;

    @ApiModelProperty("祖级ID集合")
    private String ancestorIds;

    @ApiModelProperty("祖级名称集合")
    private String ancestorNames;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("分类全称")
    private String categoryFullName;

    @ApiModelProperty("模板ID")
    private String templateId;

    @ApiModelProperty("是否显示")
    private String isShow;

    @ApiModelProperty("是否导航")
    private String isMenu;

    @ApiModelProperty("商品数量")
    private Long goodsNum;

    @ApiModelProperty("层次级别，根为0")
    private Integer treeLevel;

    @ApiModelProperty("是否为叶子节点")
    private String isLeaf;

    @ApiModelProperty("排序")
    private Integer treeSort;

    @ApiModelProperty("所属商户ID")
    private String storeId;

    @ApiModelProperty("分类状态")
    private String status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否有效（数据字典sys_yn_type，默认1-是）")
    private String isValid;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

}
